
html { touch-action: none; overflow: hidden; width: 100%; height: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-text-rendering: optimizeLegibility; -moz-text-rendering: optimizeLegibility; -ms-text-rendering: optimizeLegibility; -o-text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased; -ms-font-smoothing: antialiased; -o-font-smoothing: antialiased; }
body { touch-action: none; overflow: hidden; width: 100%; height: 100%; margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "PingFang SC"; font-size: 12px; text-rendering: geometricPrecision; }
button { font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "Ubuntu", "Droid Sans", sans-serif, "PingFang SC"; }
.dialog {min-width: 544px}
.center { position: absolute; margin: auto; top: 0; right: 0; bottom: 0; left: 0; user-select: none; -webkit-user-select: none; -moz-user-select: none; }
.select { user-select: text; -webkit-user-select: text; -moz-user-select: text; }
.open-file-dialog { display: none; }
.transparent { width: 100%; height: 100%; background-color: #000000; display: none; opacity: 0; }
.graph {display: flex; height: 100%; width: 100%; overflow: auto;  outline: none;  touch-action: pan-x pan-y; flex: 1;}
.canvas { margin: auto; flex-shrink: 0; text-rendering: geometricPrecision; user-select: none; -webkit-user-select: none; -moz-user-select: none; }



.download-checkbox-shapeInference {
    width: 12px;
    height: 12px;
}
.download-anno-shapeInference {
    font-size: 12px;
    border:none
}

.download-checkbox-cleanUp {
    width: 12px;
    height: 12px;
}
.download-anno-cleanUp {
    font-size: 12px;
    border:none
}

.graph-op-add-node-dropdown {
    font-size: 15px;
}
.icon .border { stroke: #fff; }
.icon .stroke { stroke: #808080; }
.icon:hover .stroke { stroke: #000000; }
.dropdown { display: none; position: fixed; top: 25px; min-width: 225px; z-index: 1; border-radius: 4px; background-color: #f6f6f6; border: 1px solid rgba(0,0,0,.15); padding-top: 2px; padding-bottom: 2px; margin-left: 2px; overflow: hidden; }
.dropdown button { display: block; border: none; border-radius: 0; background-color: transparent; color: black; width: 100%; text-align: left; padding: 4px 12px 5px 12px; white-space: no-wrap; font-size: 12px; }
.dropdown button:hover { color: #ffffff; background-color: #2e6bd2; }
.dropdown .separator { margin-top: 2px; margin-bottom: 2px; border-top: 1px; border-bottom: 0; border-style: solid; border-color: #e5e5e5; }
.welcome { background-color: #ececec; color: #242424; }
.welcome .logo { width: 582px; height: 228px; }
.welcome .logo-text { top: -57px; width: 582px; transition: 0.1s; }
.welcome .logo-icon { left: 248px; top: -18px; width: 106px; height: 106px; transition: 0.1s; }
.welcome .logo-spinner { left: 248px; top: -18px; width: 106px; height: 106px; display: none; }
.welcome .logo-stroke { stroke: #444444; }
.welcome .logo-fill { fill: #444444; }
.welcome .logo-border { stroke: #555555; }
.welcome .logo-glyph { fill: #444444; }
.welcome .logo-message { display: none; }
.welcome button { font-size: 12px; font-weight: bold; line-height: 1.25; text-align: center; vertical-align: middle; min-width: 60px; height: 32px; border-radius: 16px; transition: 0.1s; user-select: none; -webkit-user-select: none; -moz-user-select: none; color: #444444; background-color: #ececec; border: 1px solid #444444; }
.welcome button:hover { color: #ececec; background-color: #444444; cursor: pointer; transition: 0.2s; }
.welcome button:focus { outline: 0; }
.welcome .open-file-button { top: 190px; left: -150px; width: 125px; opacity: 1; }
.welcome .github-button { top: 190px; left: 150px; width: 125px; opacity: 1; }
.welcome .consent-accept-button { top: 220px; left: 0px; width: 125px; display: none; opacity: 0; }
.welcome .consent-message { top: 120px; left: 0px; font-size: 13px; text-align: center; line-height: 20px; color: #444444; display: none; opacity: 0; }
.welcome .graph { display: none; opacity: 0; }
.welcome.spinner .logo-spinner { display: block; -webkit-animation: orbit 0.5s infinite linear; animation: orbit 0.5s infinite linear; cursor: wait; }
@-webkit-keyframes orbit { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes orbit { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
.welcome.spinner .logo-spinner-stroke { stroke: #ececec; }
.welcome.spinner .logo-name { display: none; }
.welcome.spinner .open-file-button { opacity: 0; display: none; }
.welcome.spinner .github-button { opacity: 0; display: none; }
.welcome.consent .logo-name { display: none; }
.welcome.consent .open-file-button { opacity: 0; display: none; }
.welcome.consent .github-button { opacity: 0; display: none; }
.welcome.consent .consent-accept-button { opacity: 1; display: block; }
.welcome.consent .consent-message { opacity: 1; display: block; }
.welcome.spinner .graph { display: flex; opacity: 0; }
.welcome .toolbar { display: none; }
.welcome .main-page {display: none;}
.default { background-color: #ffffff; }
.default .logo { display: none; }
.default .graph {display: flex;opacity: 1;}
.default .toolbar { display: table; }
@media (prefers-color-scheme: dark) {
:root { color-scheme: dark; }
.default { background-color: #404040; }
.graph { background-color: #404040;}
.welcome { background-color: #1e1e1e; color: #888888; }
.welcome .logo-stroke { stroke: #888888; }
.welcome .logo-fill { fill: #888888; }
.welcome .logo-border { stroke: #000000; }
.welcome .logo-glyph { fill: #888888; }
.welcome .logo-spinner-stroke { stroke: #ffffff; }
.welcome .logo button { color: #888888; background-color: #1e1e1e; border-color: #888888; }
.welcome .logo button:hover { color: #1e1e1e; background-color: #888888; }
.welcome .consent-message { color: #888888; display: none; opacity: 0; }
.icon .border { stroke: #1d1d1d; }
.icon .stroke { stroke: #aaaaaa; }
.icon:hover .stroke { stroke: #dfdfdf; }
.dropdown { background-color: #373737; border-color: #000000; }
.dropdown button { color: #ffffff; }
.dropdown button:hover { color: #ffffff; background-color: #1d59d1; }
.dropdown .separator { border-color: #5a5a5a; }
}
@media all and (max-width: 640px) {
.welcome .logo { width: 240px; }
.welcome .logo-text { opacity: 0; }
.welcome .logo-name { opacity: 0; }
.welcome .logo-icon { left: 0; top: 0; width: 128px; height: 128px; }
.welcome .logo-spinner { left: 0; top: 0; width: 128px; height: 128px; }
.welcome .logo .open-file-button { top: 180px; left: 0; }
.welcome .logo .github-button { top: 270px; left: 0; }
.welcome .logo .consent-message { top: 140px; }
.welcome .logo .consent-accept-button { top: 310px; }
.about.desktop .logo { width: 320px; padding: 40px; }
}

.message-box {border-style: double; border-radius: 6px; min-width: 400px; cursor: pointer; word-break: break-word;
    background: white;}
.message-box h1 {text-align: center; }
.message-box div {font-size: 16px;}
.message-box .footer {text-align: right; padding-top: 24px;}
.message-box .center-item {text-align: center;}
.dialog .text {text-align: center;}


.message-box .title {
    border-bottom: 1px solid;
    padding: 16px 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.message-box .message {
    margin: 24px 0;
}

.message-box .dialog-content {
    margin: 10px 0;
}

.message-box .content-item {
    margin: 8px 0;
}
.message-box .content-item .item-title {
    float: left;
    margin: 0;
}

.message-box .content-item .input {
    margin: 0 0 0 80px ;
}
.message-box .content-item .input > input:not([type="checkbox"]),select {
    width: 100%;
    box-sizing: border-box;
}

.message-box-disappear {
    animation: disaple 10s cubic-bezier(0.99, 0.01, 0.01, 0.99);
}

.error-message-box {
    animation-play-state: paused;
}


@keyframes disaple {
    from {
        opacity : 1;
    }
    to {
        opacity: 0;
    }
}

#show-message-info {
    border-style: hidden;
    position: fixed;
    bottom: 0px;
    margin-right: 10px;
    max-width: 40vw;
    background: transparent;  
    z-index: 10;
    max-height: 90vh;
    overflow: auto;
}

#show-message-info .message-box {
    padding: 10px;
    margin: 5px 0;
    border-width: 1px;
}

.warn-message-box {background:burlywood}
.error-message-box {background: lightcoral;}
.success-message-box {background: aquamarine;}

.welcome.spinner .main-page { display: flex;}
.main-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.content {
    display: flex;
    flex-direction: row;
    flex: 1;
    overflow: auto;
}

.sidebar {
    width: 750px;
    position: static;
    overflow: auto;
}

.input_error {
    border-color: red;
    outline: red;
}

err_msg {
    display: none;
}

err_msg::before {
    content: "Please confirm that the characters you entered meet the requirements of ONNX";
    color: red;
}

.input_error + err_msg {
    display: block;
}

#dragable {
    width: 5px;
    height: 100%;
    cursor: move;
}

#dragable:has(+ #sidebar[style="display: none;"]) {
    display: none;
}

.footer button {
    margin: 0 5px;
}

#sub-graph-name-button {
    border-radius: 6px;
    border: 1px solid;
}

@media (prefers-color-scheme: dark) {
.message-box {background: #2d2d2d;}
.warn-message-box {background:burlywood}
.error-message-box {background: lightcoral;}
.success-message-box {background: aquamarine;}
.dialog {border: none;}
}